home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 September / CHIP Eylül 1998.iso / Slackwar / docs / mini / 3-Button-Mouse next >
Text File  |  1997-11-15  |  26KB  |  632 lines

  1.   The 3 Button Serial Mouse mini-HOWTO
  2.   Geoff Short, geoff@kipper.york.ac.uk
  3.   v1.32, 4 November 1997
  4.  
  5.   How to get a 3 button serial mouse working properly under Linux.
  6.  
  7.   1.  Disclaimer
  8.  
  9.   The following document is offered in good faith as comprising only
  10.   safe programming and procedures. No responsibility is accepted by the
  11.   author for any loss or damage caused in any way to any person or
  12.   equipment, as a direct or indirect consequence of following these
  13.   instructions.
  14.  
  15.   2.  Introduction
  16.  
  17.   The most recent version of this document can always be found at
  18.   http://kipper.york.ac.uk/mouse.html
  19.  
  20.   There is a Japanese translation at http://jf.gee.kyoto-u.ac.jp/JF/JF-
  21.   ftp/euc/3-Button-Mouse.euc
  22.  
  23.   Most X applications are written with the assumption that the user will
  24.   be working with a 3 button mouse.  Serial mice are commonly used on
  25.   computers and are cheap to buy.  Many of these mice have 3 buttons and
  26.   claim to use the Microsoft protocol, which in theory means they are
  27.   ideal for the X windows setup.  (The record for the cheapest working 3
  28.   button mouse currently stands at $1.14!)
  29.  
  30.   Most dual-protocol mice will work in two modes:
  31.  
  32.   ╖  2-button Microsoft mode.
  33.  
  34.   ╖  3-button MouseSystems mode.
  35.  
  36.      This document leads you through the different steps needed to
  37.      configure your mouse in these two different modes, especially the
  38.      steps needed to use the more useful 3-button mode.
  39.  
  40.   3.  Serial Ports
  41.  
  42.   The first thing to do is to make sure the software can find the mouse.
  43.   Work out which serial port your mouse is connected to - usually this
  44.   will be /dev/ttyS0 (COM1 under DOS) or /dev/ttyS1 (COM2). (ttyS0 is
  45.   usually the 9 pin socket, ttyS1 the 25 pin socket, but of course there
  46.   is no hard and fast rule about these things.)  There are also an
  47.   equivalent number of /dev/cua devices, which are almost the same as
  48.   the ttyS ones, but their use is now discouraged.  For convenience make
  49.   a new link /dev/mouse pointing at this port.  For instance, for ttyS0:
  50.  
  51.        ln -s /dev/ttyS0 /dev/mouse
  52.  
  53.   4.  Switched Mice
  54.  
  55.   Some mice, not usually the cheapest ones, have a switch on the bottom
  56.   marked `2/3'. Sometimes this may be `PC/MS'. In this case the `2'
  57.   setting is for 2 button Microsoft mode, and the `3' for 3 button
  58.   MouseSystems mode. The `PC/MS' switch is a bit more complicated.  You
  59.   will probably find the `MS' setting is for Microsoft, and the `PC' is
  60.   for MouseSystems. You may find the `PC' setting described as ps/2
  61.   mode, but it should do MouseSystems as well.  If you have such a
  62.   mouse, you can switch the switch to `3' or `PC', put the MouseSystems
  63.   settings in your XConfigs (see below) and the mouse should work
  64.   perfectly in 3-button mode.
  65.  
  66.   5.  Normal Mice
  67.  
  68.   If you don't have any switches, and no instructions, then a little bit
  69.   of experimentation is needed.  The first thing to try is to assume the
  70.   mouse maker is telling the truth, and the mouse is full Microsoft. Set
  71.   up your Xconfigs to expect a Microsoft mouse (see the Xconfig section)
  72.   and give it a try.
  73.  
  74.   If the mouse didn't work at all, then you don't have a Microsoft
  75.   mouse, or there is some other problem. Try the other protocols in the
  76.   configs, the man page for the config file is the best place to start
  77.   looking. Also look in the Miscellaneous Problems section below.
  78.  
  79.   What you will probably find is that when you run X, the mouse works
  80.   fine but only the outer two buttons do anything.  You can of course
  81.   accept this, and emulate the third button (press both buttons at once
  82.   to click the middle one) like you do with a two button mouse. To do
  83.   this, change your Xconfig file as shown in the Xconfig example section
  84.   below.  This may mean you have bought a 3 button mouse for no good
  85.   reason, and you are certainly no further forward. So, now you need to
  86.   look at your hardware.
  87.  
  88.   6.  Switching a Mouse to 3-Button Mode
  89.  
  90.   Even cheap mice can also work under the Mouse Systems protocol, with
  91.   all three buttons working.  The trick is to get the mouse to think
  92.   it's a Mouse Systems one, something you rarely see in your
  93.   instructions.
  94.  
  95.   ╖  Before you power up your computer, hold down the left mouse button
  96.      (and keep it held down until it has booted to be on the safe side).
  97.  
  98.   When the mouse first gets power, if the left button is held down it
  99.   switches into Mouse Systems mode. A simple fact, but not always
  100.   publicised. Note that a soft reboot of your computer may not cut the
  101.   mouse power and therefore may not work. There are a number of other
  102.   ways of switching the mode, which may or may not work with your
  103.   particular mouse. Some of these are less drastic than rebooting your
  104.   computer, two are more so!
  105.  
  106.   ╖  If your computer is get-at-able you can unplug the mouse and plug
  107.      it back in with the button held down (although you shouldn't
  108.      normally plug things in to a live computer, the RS232 spec says it
  109.      is OK).
  110.  
  111.   ╖  You may be able to reset the mouse by typing echo "*n" >
  112.      /dev/mouse, which should have the same effect as unplugging it.
  113.      Hold the left button down for Mouse Systems mode, not for
  114.      Microsoft. You could put this in whatever script you use to start X
  115.      up.
  116.  
  117.   ╖  Bob Nichols (rnichols@interaccess.com) has written a small c
  118.      program to do the same thing, which may work if echo "*n" does not
  119.      (and vice versa). You can find a copy of his source code at
  120.      http://kipper.york.ac.uk/src/fix-mouse.c
  121.  
  122.   ╖  Someone has reported that the `ClearDTR' line in the Xconfig is
  123.      enough to switch their mouse into Mouse Systems mode.
  124.  
  125.   ╖  If you are brave enough, open the mouse up (remember that this will
  126.      invalidate your warranty) and have a look inside. In some cases,
  127.      the mouse may have a switch inside, for some strange reason known
  128.      only to the manufacturer. More likely on the cheap mice is a jumper
  129.      which you can move. The switch or jumper may have the same effect
  130.      as a `MS/PC' switch described in the ``Switched Mice section''
  131.      above.  You may find that the circuit board is designed for a
  132.      switch between 2 & 3 buttons, but it hasn't been fitted. It will
  133.      look something like:
  134.  
  135.                 -----------
  136.                | o | o | o |  SW1
  137.                 -----------
  138.                  1   2   3
  139.  
  140.   Try linking pins 1-2 or 2-3, and see if it changes the behaviour of
  141.   the mouse.  If it does, you can either fit a small switch, or solder
  142.   across the contacts for a quick and permanent solution.
  143.  
  144.   ╖  Another soldering solution which might be a last-resort for mice
  145.      which don't understand MouseSystems at all, from Peter Benie
  146.      (pjb1008@chiark.chu.cam.ac.uk).  If the middle button's switch is
  147.      double-pole, connect one side of the switch to the left button's
  148.      switch, and the other side to right button's switch.  If it's not a
  149.      double pole switch then use diodes rather than wire.  Now, the
  150.      middle button pushes the left and right buttons down together.
  151.      Select ChordMiddle in the XF86Config and you have a working middle
  152.      button.
  153.  
  154.   ╖  The ultimate recourse with the soldering iron was first described
  155.      to me by Brian Craft (bcboy@pyramid.bio.brandeis.edu). Two common
  156.      generic mouse chips are the 16 pin Z8350, and the 18 pin HM8350A.
  157.      On each of these chips, one pin controls the mode of the chip, as
  158.      follows.
  159.  
  160.        Pin 3   Mode
  161.        -----   ----
  162.        Open    Default Microsoft. Mouse Systems if a button is held on power-up.
  163.        GND     Always Mouse Systems.
  164.        Vdd     Always Microsoft.
  165.  
  166.   (Pins are numbered as follows:)
  167.  
  168.           ____
  169.   pin1  -| \/ |-
  170.   pin2  -|    |-
  171.   pin3  -|    |-
  172.         -|    |-
  173.         -|    |-
  174.         -|    |-
  175.         -|    |-
  176.   pin8  -|____|-
  177.  
  178.   (This info comes courtesy of Hans-Christoph Wirth, and Juergen Exner,
  179.   who posted it to de.comp.os.linux.hardware)  You can solder a link
  180.   between pin 3 and gnd, which will fix the mouse into MouseSystems
  181.   mode.
  182.  
  183.   ╖  Peter Fredriksson (peterf@lysator.liu.se) has tried the SYSGRATION
  184.      SYS2005 chip, and found that linking Pin 3 to Gnd forced Mouse
  185.      System mode.
  186.  
  187.   ╖  Uli Drescher (ud@digi.ruhr.de) confirms it works on an HN8348A
  188.      chip.
  189.  
  190.   ╖  Urban Widmark (ubbe@ts.umu.se) says the same applies to the
  191.      EC3567A1 chip, where Pin 8 is ground.  I've tried it as well and it
  192.      works fine.
  193.  
  194.   ╖  Timo T Metsala (metsala@cc.helsinki.fi) has found that on the
  195.      HT6510A chip pin 3 is mode select, pin 9 is Gnd.  The same works
  196.      for the HT6513A chip.  Holtek also make HT6513B and HT6513F chips -
  197.      on these, pin 8 is Gnd.
  198.  
  199.   ╖  Robert Romanowski (robin@cs.tu-berlin.de) says pin 3 - pin 8 (Gnd)
  200.      works on an EM83701BP chip too.
  201.  
  202.   ╖  Robert Kaiser (rkaiser@sysgo.de) confirms that pin 3 - Gnd works on
  203.      a EC3576A1 chip too.
  204.  
  205.   ╖  As an alternative to the above soldering methods, you can get the
  206.      mouse to hold it's own button down when booting:  this circuit from
  207.      Mathias Katzer.
  208.  
  209.                 -----
  210.              ---  R  ---------O------ + Supply
  211.             |   -----   |        |                     C = 100nF capacitor
  212.             |           | E      |                     R = 100kOhm
  213.             |       __ /         |                     T = BC557 transistor
  214.             |      /  \          O
  215.             |   B | #V | T         /
  216.             |-----|-#  |          /   Left button switch of the mouse
  217.             |     | #\ |         O
  218.             |      \__/          |
  219.            ---         \  C      |
  220.            --- C        ------O----------> (to somewhere deep inside the mouse)
  221.             |
  222.            ###  Ground
  223.  
  224.   The test mouse was a no-name model MUS2S - whether this works in other
  225.   mice depends on the circuit of the mouse; if the switch is connected
  226.   to ground and not to +Supply, an npn-transistor like the BC547 should
  227.   work; R and C have to be swapped then, too.
  228.  
  229.   So there you have it, the choice is yours. Stick with the default
  230.   Microsoft two buttons, or work out how to switch the mode and set X up
  231.   to take advantage of this.
  232.  
  233.   7.  Using gpm to Switch Mouse Modes
  234.  
  235.   gpm is the program that lets you use the mouse in console mode.  It is
  236.   usually included in linux distributions, and can be started from the
  237.   command line or in the startup script /etc/rc.d/rc.local. gpm is the
  238.   cause of much problem to people using bus mice, since it locks the
  239.   mouse and stops X from using it - those of us using serial mice don't
  240.   have this problem.
  241.  
  242.   The main modes for serial mice under gpm are:
  243.  
  244.        gpm -t ms
  245.        gpm -t msc
  246.        gpm -t help
  247.  
  248.   for Microsoft or MouseSystems modes, or to probe the mouse for you and
  249.   tell you what it found.  To run gpm in MouseSystems mode, you may need
  250.   a -3 flag, and possibly a DTR option, using the -o dtr flag:
  251.  
  252.        gpm -3 -o dtr -t msc
  253.  
  254.   gpm is often able to recognise all three buttons of the mouse even in
  255.   Microsoft mode.  And newer versions (Version 1.0 and later (?))  can
  256.   then make this information available to other programs.  For this to
  257.   work, you need to run gpm with the -R tag, like this:
  258.  
  259.        gpm -R -t ms
  260.  
  261.   This will make gpm re-export the mouse data to a new device, called
  262.   /dev/gpmdata, which looks like a mouse to any other program.  Note
  263.   that this device always uses the MouseSystems protocol.  You can then
  264.   set your Xconfig to use this instead of /dev/mouse as shown below, but
  265.   of course you must ensure gpm is always running when you use X.  Some
  266.   people have reported that some middle-button events are not correctly
  267.   interpreted by X using this technique, this may be down to an individ¡
  268.   ual mouse setup.
  269.  
  270.   Changing button mapping for gpm and X (gustafso@math.utah.edu)
  271.  
  272.   You may find that gpm uses different default button mappings to X, so
  273.   using both systems on the same machine can be confusing.  To make X
  274.   use the same buttons for select and paste operations as gpm, use the X
  275.   command
  276.  
  277.        xmodmap -e "pointer = 1 3 2"
  278.  
  279.   which causes the left button to select and the right button to paste,
  280.   for either 2-button or 3-button mice.  To force gpm to use the X stan¡
  281.   dard button mapping, start it with a -B command, eg:
  282.  
  283.        gpm -t msc -B 132
  284.  
  285.   8.  Using two mice
  286.  
  287.   In some cases, for instance a laptop with a built-in pointing device,
  288.   you may wish to use a serial mouse as a second device.  In most cases
  289.   the built-in device uses the PS/2 protocol, and can be ignored if you
  290.   don't wish to use it.  Simply configure gpm or X to use /dev/ttyS0 (or
  291.   whatever) as usual.
  292.  
  293.   To use both at once, you can use gpm -M to re-export the devices.
  294.   More details in the gpm man page.
  295.  
  296.   9.  XF86Config and Xconfig file examples
  297.  
  298.   The location of your configuration file for X depends on the
  299.   particular release and distribution you have. It will probably be
  300.   either /etc/Xconfig, /etc/XF86Config or /usr/X11/lib/X11/XF86Config.
  301.   You should see which one it is when you start X - it will be echoed to
  302.   the screen before all the options are displayed. The syntax is
  303.   slightly different between the XF86Config and Xconfig files, so both
  304.   are given.
  305.  
  306.   Microsoft Serial Mouse
  307.  
  308.   ╖  XF86config:
  309.  
  310.        Section "Pointer"
  311.            Protocol "microsoft"
  312.            Device "/dev/mouse"
  313.        EndSection
  314.  
  315.   ╖  Xconfig:
  316.  
  317.        #
  318.        # Mouse definition and related parameters
  319.        #
  320.        Microsoft      "/dev/mouse"
  321.  
  322.   Microsoft Serial Mouse with Three Button Emulation
  323.  
  324.   ╖  XF86config:
  325.  
  326.        Section "Pointer"
  327.            Protocol "microsoft"
  328.            Device "/dev/mouse"
  329.            Emulate3Buttons
  330.        EndSection
  331.  
  332.   ╖  Xconfig:
  333.  
  334.        #
  335.        # Mouse definition and related parameters
  336.        #
  337.        Microsoft      "/dev/mouse"
  338.        Emulate3Buttons
  339.  
  340.   MouseSystems Three Button Serial Mouse
  341.  
  342.   ╖  XF86config:
  343.  
  344.        Section "Pointer"
  345.            Protocol "mousesystems"
  346.            Device "/dev/mouse"
  347.            ClearDTR            #  These two lines probably won't be needed,
  348.            ClearRTS            #  try without first and then just the DTR
  349.        EndSection
  350.  
  351.   ╖  Xconfig:
  352.  
  353.        #
  354.        # Mouse definition and related parameters
  355.        #
  356.        MouseSystems    "/dev/mouse"
  357.        ClearDTR                #  These two lines probably won't be needed,
  358.        ClearRTS                #  try without first and then just the DTR
  359.  
  360.   Microsoft Serial Mouse with gpm -R
  361.  
  362.   ╖  XF86config:
  363.  
  364.        Section "Pointer"
  365.            Protocol "MouseSystems"
  366.            Device "/dev/gpmdata"
  367.        EndSection
  368.  
  369.   ╖  Xconfig:
  370.  
  371.        #
  372.        # Mouse definition and related parameters
  373.        #
  374.        MouseSystems      "/dev/gpmdata"
  375.  
  376.   10.  Cables, extensions and adaptors
  377.  
  378.   The only wires needed in a mouse cable are as follows: TxD and RxD for
  379.   data transfer, RTS and/or DTR for power sources, and ground.
  380.   Translated into pin numbers, they are:
  381.  
  382.                    9-pin port     25-pin port
  383.                TxD     3                2
  384.                RxD     2                3
  385.                RTS     7                4
  386.                DTR     4               20
  387.                Gnd     5                7
  388.  
  389.   The above table may be of use if you wish to make adaptors between 9-
  390.   and 25-pin plugs, or extension cables.
  391.  
  392.   11.  Miscellaneous Problems and Setups
  393.  
  394.   ╖  If you have trouble with your mouse in X or console mode, check you
  395.      are not running a getty on the serial line, or anything else such
  396.      as a modem for that matter. Also check for IRQ conflicts.
  397.  
  398.   ╖  It is possible that you need to hold down the left button when
  399.      booting X windows.  Some systems may send some sort of signal or
  400.      spike to the mouse when X starts.
  401.  
  402.   ╖  Problems with serial devices may be due to the serial port not
  403.      being initialised correctly at boot. This is done by the setserial
  404.      command, run from the start-up script /etc/rc.d/rc.serial. Check
  405.      the man page for setserial and the Serial-HOWTO for more details.
  406.      It may be worth a little experimentation with types, for instance
  407.      try setserial /dev/mouse uart 16550 or 16550a regardless of what
  408.      port you actually have.  (For instance, mice don't like the
  409.      16c550AF).
  410.  
  411.   ╖  The ClearDTR flag may not work properly on some systems, unless you
  412.      disable the RTS/CTS handshaking with the command:
  413.  
  414.        stty -crtscts < /dev/mouse
  415.  
  416.   (Tested on UART 16450/Pentium by Vladimir Geogjaev geog¡
  417.   jaev@wave.sio.rssi.ru)
  418.  
  419.   ╖  Logitech mice may require the line ChordMiddle to enable the middle
  420.      of the three buttons to work. This line replaces Emulate3Buttons or
  421.      goes after the /dev/mouse line in the config file. You may well
  422.      need the ClearDTR and ClearRTS lines in your Xconfig.  Some
  423.      Logitech mice positively do not need the ChordMiddle line - one
  424.      symptom of this problem is that menus seem to move with the mouse
  425.      instead of scrolling down. (From: chang@platform.com)
  426.  
  427.   ╖  Swapping buttons: use the xmodmap command to change which physical
  428.      button registers as each mouse click. eg:  xmodmap -e "pointer = 3
  429.      2 1"  will turn round the buttons for use in the left hand. If you
  430.      only have a two-button mouse then it's just numbers 1 & 2.
  431.  
  432.   ╖  Acceleration: use the xset m command to change the mouse settings.
  433.      eg xset m 2  will set the acceleration to 2. Look at the manpage
  434.      for full details.
  435.  
  436.   ╖  Pointer offset: If the click action appears to be coming from the
  437.      left or right of where the cursor is, it may be that your screen is
  438.      not aligned. This is a problem with the S3 driver, which you may be
  439.      able to fix using xvidtune. Try Invert_VCLK/InvertVCLK, or EarlySC.
  440.      This info from Bill Lavender (lavender@MCS.COM) and Simon Hargrave.
  441.      In the XF86Config, it might look like this:
  442.  
  443.        Subsection "Display"
  444.            Modes       "1024x768" "800x600" "640x480" "1280x1024"
  445.            Invert_VCLK "*" 1
  446.            ...
  447.  
  448.   ╖  If you are getting `bouncing' of the mouse buttons, ie two clicks
  449.      when you only wanted one, there may be something wrong with the
  450.      mouse.  This problem has been solved for Logitech mice by Bob
  451.      Nichols (rnichols@interaccess.com) and involves soldering some
  452.      resistors and a chip in the mouse to debounce the microswitches.
  453.  
  454.   ╖  If some users cannot get the mouse to work but some (eg root) can,
  455.      it is possible that the users are not running exactly the same
  456.      thing - for instance a different version of X or a different
  457.      Xconfig.  Check the X start-up messages carefully to make sure.
  458.  
  459.   ╖  If you find the mouse pointer is erasing things from your screen,
  460.      you have a server config problem.  Try adding the option linear, or
  461.      maybe nolinear to the graphics card section, or if it is a PCI
  462.      board, the options tgui_pci_write_off and tgui_pci_read_off.  (This
  463.      seems to be a Trident Card problem.)
  464.  
  465.   ╖  If the mouse cursor doesn't show up on the screen, but otherwise
  466.      seems to be working, try the option "sw_cursor" in the Device
  467.      section of the config file.
  468.  
  469.   ╖  If your mouse stops working when its sunny or when you turn a light
  470.      on, it may be that the sensors are being swamped by light getting
  471.      through the case.  You could try painting the inside of the case
  472.      black, or putting some card in the top.
  473.  
  474.   ╖  Microsoft Brand mice are often a cause of problems. The newest
  475.      ``Microsoft Serial Mouse 2.1A'' has been reported not to work on
  476.      many systems, although unplugging it and plugging it in again may
  477.      help. The ``Microsoft Intellimouse'' also causes problems, although
  478.      it should now be supported by XFree version 3.3 and later.
  479.  
  480.   12.  Models Tested
  481.  
  482.   There are a lot of different mice out there, and I cannot honestly say
  483.   that you should go out and buy one rather than the other. What I can
  484.   do is give a list of what I think these mice do, based on experience
  485.   and heresay.  Even with this information you should be a little
  486.   cautious - we had two identical mice in our office on two computers,
  487.   some things worked on one and not t'other!  Any additions to this list
  488.   would be welcome.
  489.  
  490.   Mouse Systems optical mouse, serial version
  491.   Works well (as you might expect from the name!) without ClearDTR or
  492.   ClearRTS in the config.
  493.   WiN mouse, as sold by Office World for eight quid.
  494.   Standard dual-mode Microsoft/MouseSystems.
  495.   Agiler Mouse 2900
  496.   Standard dual-mode Microsoft/MouseSystems. SYSGRATION SYS2005 chip is
  497.   solderable.
  498.   Sicos mouse,
  499.   Works ok, needs ClearDTR & Clear RTS in config.
  500.   Index sell a mouse for 10 quid,
  501.   Doesn't work in 3 button mode, but does have nice instructions :-)
  502.   Artec mouse
  503.   Usual dual-protocol mouse, needs `ClearDTR' set in config, NOT
  504.   `ClearRTS'
  505.   DynaPoint 3 button serial mouse.
  506.   Usual dual-protocol mouse, needs `ClearDTR' AND `ClearRTS' in Xconfig.
  507.   Genius Easymouse 3 button mouse
  508.   Works fine with Mouseman protocol without the ChordMiddle parameter
  509.   set.  From Roderick Johnstone (rmj@ast.cam.ac.uk)
  510.   Truemouse, made in Taiwan
  511.   Works OK, needs `ClearDTR' in config. (From Tim MacEachern)
  512.   Champ brand mouse
  513.   Needs to have switch in PC mode, which enables MouseSystems protocol
  514.   also. (From tnugent@gucis.cit.gu.edu.au)
  515.   MicroSpeed mouse
  516.   Usual dual-protocol mouse.
  517.   Venus brand ($7)
  518.   Has a jumper inside to switch between 2 and 3 button mode.  (From
  519.   mhoward@mth.com )
  520.   Saturn
  521.   Switched mouse, works OK as MouseSystems in 3-button position.  (From
  522.   grant@oj.rsmas.miami.edu .)
  523.   Manhattan mouse.
  524.   Switch for `MS AM' / `PC AT' modes, MS mode works fine with the gpm -R
  525.   method. (From komanec@umel.fee.vutbr.cz).
  526.   Inland mouse.
  527.   Switch for `PC/MS' modes, works fine. (From
  528.   http://ptsg.eecs.berkeley.edu/~venkates).
  529.   qMouse (3-button), FCC ID E6qmouse X31.
  530.   Sells in the USA for about $10. Works with `gpm -t msc -r 20'.  No
  531.   jumpers or switches for MouseSystems 3-button mode. Unreliable in X.
  532.   Does not respond to echo "*n" > /dev/mouse.
  533.   Mitsumi Mouse (2-button), FCC ID EW4ECM-S3101.
  534.   Sells in the USA for about $12. Reliable in X and under gpm, smooth
  535.   double-button. (These two from gustafso@math.utah.edu)
  536.   PC Accessories mouse that i got from CompUSA for under $10.
  537.   Has PC/MS switch on bottom.  Works OK. (From steveb@communique.net)
  538.   First Mouse - seriously cheap at 7.79 pounds at Tempo.
  539.   Dual Microsoft/MouseSystems, mode set by button depress at power-up.
  540.   No switches, no links.  Four wire connection, echo '*n' doesn't work.
  541.   `gpm -R' works a treat. (From peterk@henhouse.demon.co.uk)
  542.   Trust 3-button mouse.
  543.   Dual-mode with switch, works OK as MouseSystems in `PC' mode.  gpm
  544.   doesn't like the Microsoft mode.
  545.   Chic 410
  546.   Works perfectly when kept in ms mode and used with the gpm -R command.
  547.   From Stephen M. Weiss (steve@esc.ie.lehigh.edu)
  548.   KeyMouse 3-button mouse.
  549.   Works OK with ClearDTR and ClearRTS in Xconfig; `-o dtr' needed with
  550.   gpm. (From EZ4PHIL@aol.com)
  551.   Qtronix keyboard `Scorpio 60'
  552.   All three buttons work in MouseSystems protocol.  (From
  553.   hwe@uebemc.siemens.de)
  554.   Tecra 720 laptop
  555.   The glidepoint is on /dev/cua0; the stick is on /dev/psaux.  (From
  556.   apollo@anl.gov)
  557.   Anubis mouse
  558.   Works fine, need to hold down left button whenever switching to the X
  559.   virtual console.  (From Joel Crisp)
  560.   Yakumo No.1900 mouse
  561.   Works with gpm -R -t ms exporting to X.  (From Oliver Schwank)
  562.   Genius `Easy Trak' Trackball
  563.   Is not Microsoft compatible, use Mouseman in the Xconfig and it will
  564.   work fine.  (From VTanger@aol.com.)
  565.   Highscreen Mouse Pro
  566.   `Works fine' says alfonso@univaq.it.
  567.   Logitech CA series
  568.   Works in X using MMseries protocol, at 2400 Baud, 150 SampleRate.
  569.   (Should also apply to Logitech CC, CE, C7 & C9 mice).  (From
  570.   vkochend@nyx.net.)
  571.   A4-Tech mouse
  572.   Works OK, needs DTR line under both X and gpm.  (From
  573.   deane@gooroos.com)
  574.   Vertech mouse
  575.   Normal Microsoft/Mousesystems behaviour, can be soldered for a
  576.   permenant fix.  (From duncan@fs3.ph.man.ac.uk.)
  577.   Boeder M-7 ``Bit Star'' (and other M series apart from M13)
  578.   Switches to Mousesystems protocol by holding any button down at power-
  579.   on.  (From mailto:sjt@tappin.force9.co.uk.)
  580.   Mouse Systems ``Scroll'' Mouse (four buttons and a roller/button)
  581.   Has a 2/3 switch - in mode 3 functions as a three button MouseSystems
  582.   mouse, ignoring extra button & wheel.  Doesn't need ClearDTS/DTR.
  583.   (From parker1@airmail.net.)
  584.   Radio Shack 3-button Serial Mouse
  585.   Model 26-8432, available in Tandy for about 20 quid. Works as
  586.   Mousesystems with ClearDTR. (From Sherilyn@sidaway.demon.co.uk.)
  587.  
  588.   13.  Further Information
  589.  
  590.   ╖  Mouse Systems has a web site at http://www.mousesystems.com/.  They
  591.      have a Windows driver if you need one.
  592.  
  593.   ╖  The Linux Serial HOWTO is available from mirrors of sunsite around
  594.      the world.  If you don't know where your nearest mirror is, start
  595.      at http://sunsite.unc.edu/mdw/linux.html
  596.  
  597.   ╖  There is a very good explanation of how mice work at
  598.      http://box.argonet.co.uk/users/4qd/faq/meece.html.
  599.  
  600.   ╖  Fuller details of the Xconfig and XF86Config files are found on the
  601.      relevant man pages, and in the documentation about installing X
  602.      windows such as the Xfree86 HOWTO. Also, see the XFree86 FAQ at a
  603.      mirror of http://www.XFree86.org/.
  604.  
  605.   ╖  Information about gpm can be found on the man page, also try the
  606.      web page of Darin Ernst at http://www.castle.net/X-
  607.      notebook/mouse.txt.
  608.  
  609.   ╖  Lots of information on mice hardware and software can be found at
  610.      http://www.hut.fi/Misc/Electronics/pc/interface.html#mouse
  611.  
  612.   14.  Mouse Tail
  613.  
  614.   Much of the information for this document has been trawled from the
  615.   various linux newsgroups. I am sorry I did not keep a record of
  616.   everyone who has indirectly contributed by this route, thank you all
  617.   very much.
  618.  
  619.   So, to sum up:
  620.  
  621.   ╖  Even cheap 3 button Microsoft mice can be made to work.
  622.  
  623.   ╖  Configure your copy of X to expect a Mouse Systems mouse.
  624.  
  625.   ╖  Hold down the left button at power-on to switch the mouse to
  626.      MouseSystems mode.
  627.  
  628.   ╖  You might need to hold the left button down when starting X.
  629.  
  630.   ╖  Mice are more intelligent than you think.
  631.  
  632.